package com.mingda.weathermagiccenter.config.riskconfig;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

import java.util.List;

@Configuration
@ConfigurationProperties(prefix = "riskv2config")
@PropertySource(value = "classpath:application-risk.yml", encoding = "UTF-8")
public class RiskV2ConfigBean {

    public  String   slopapi;
    private RiskWeight riskWeight;

    public String getSlopapi() {
        return slopapi;
    }

    public void setSlopapi(String slopapi) {
        this.slopapi = slopapi;
    }

    public RiskWeight getRiskWeight() {
        return riskWeight;
    }

    public void setRiskWeight(RiskWeight riskWeight) {
        this.riskWeight = riskWeight;
    }

    private List<BaseThreatConfig> baseThreatConfigs;
    private List<WindThreatConfig> windThreatConfigs;
    private List<TemHumThreatConfig> temHumThreatConfigs;
    private List<CoverThreatConfig> coverThreatConfigs;
    private List<RainThreatConfig> rainThreatConfigs;



    private List<TemThreatConfig> temThreatConfigs;

    private List<HumThreatConfig> humThreatConfigs;

    private List<SlopThreatConfig> slopThreatConfigs;
    private List<TotalThreatConfig> totalThreatConfigs;

    public List<SlopThreatConfig> getSlopThreatConfigs() {
        return slopThreatConfigs;
    }

    public void setSlopThreatConfigs(List<SlopThreatConfig> slopThreatConfigs) {
        this.slopThreatConfigs = slopThreatConfigs;
    }

    public List<BaseThreatConfig> getBaseThreatConfigs() {
        return baseThreatConfigs;
    }

    public void setBaseThreatConfigs(List<BaseThreatConfig> baseThreatConfigs) {
        this.baseThreatConfigs = baseThreatConfigs;
    }

    public List<WindThreatConfig> getWindThreatConfigs() {
        return windThreatConfigs;
    }

    public void setWindThreatConfigs(List<WindThreatConfig> windThreatConfigs) {
        this.windThreatConfigs = windThreatConfigs;
    }

    public List<TemHumThreatConfig> getTemHumThreatConfigs() {
        return temHumThreatConfigs;
    }

    public void setTemHumThreatConfigs(List<TemHumThreatConfig> temHumThreatConfigs) {
        this.temHumThreatConfigs = temHumThreatConfigs;
    }

    public List<CoverThreatConfig> getCoverThreatConfigs() {
        return coverThreatConfigs;
    }

    public void setCoverThreatConfigs(List<CoverThreatConfig> coverThreatConfigs) {
        this.coverThreatConfigs = coverThreatConfigs;
    }

    public List<RainThreatConfig> getRainThreatConfigs() {
        return rainThreatConfigs;
    }

    public void setRainThreatConfigs(List<RainThreatConfig> rainThreatConfigs) {
        this.rainThreatConfigs = rainThreatConfigs;
    }

    public List<TotalThreatConfig> getTotalThreatConfigs() {
        return totalThreatConfigs;
    }

    public void setTotalThreatConfigs(List<TotalThreatConfig> totalThreatConfigs) {
        this.totalThreatConfigs = totalThreatConfigs;
    }

    public List<TemThreatConfig> getTemThreatConfigs() {
        return temThreatConfigs;
    }

    public void setTemThreatConfigs(List<TemThreatConfig> temThreatConfigs) {
        this.temThreatConfigs = temThreatConfigs;
    }

    public List<HumThreatConfig> getHumThreatConfigs() {
        return humThreatConfigs;
    }

    public void setHumThreatConfigs(List<HumThreatConfig> humThreatConfigs) {
        this.humThreatConfigs = humThreatConfigs;
    }
}
